
para = {
    "CommonDataPath": "D:/Projects/DeepLearning/reid/transport_car_6.0/CommonData/",
    "CameraLists": {
            "K28": ["K28+020", "K28+100", "K28+175", "K28+250", "K28+320", "K28+390", "K28+540", "K28+610"],
            "K35": ["K35+670", "K35+520", "K35+447", "K35+385", "K35+310", "K35+190", "K35+120", "K35+047"]
    },
    # "CameraLists": {
    #     "K28": ["K28+020", "K28+100", "K28+175", ]
    # },

    "PrimerImgWidth": 1920,
    "PrimerImgHigh": 1080,

    # reid
    "ReIDModelLoadPath": "ReidTools/model_cpu.pt",
    "torchDevice": "cuda",
    # "ReIDModelLoadPath": "model.pt",
    "ReIDModelGlobalsName": "ReIDModel",


    # distance paras
    # mileageBios: the bottom of screen distance
    "mileageBios": {
        "K28+020": 44,
        "K28+100": 144,
        "K28+175": 195,
        "K28+250": 240,
        "K28+320": 338,
        "K28+390": 410,
        "K28+540": 540,
        "K28+610": 644,

        "K35+670": 820,
        "K35+520": 533,
        "K35+447": 466,
        "K35+385": 433,
        "K35+310": 272,
        "K35+190": 132,
        "K35+120": 86,
        "K35+047": 34
    },
    # pixelScale: the ratio of (m : p)
    "pixelScale": {
        "K28+020": {"x": 0.2854, "y": 0.185},
        "K28+100": {"x": 0.3465, "y": 0.1305},
        "K28+175": {"x": 0.2435, "y": 0.1196},
        "K28+250": {"x": 0.328, "y": 0.12},
        "K28+320": {"x": 0.333, "y": 0.1347},
        "K28+390": {"x": 0.2409, "y": 0.1077},
        "K28+540": {"x": 0.31, "y": 0.1},
        "K28+610": {"x": 0.3444, "y": 0.18},

        "K35+670": {"x": 0.3337, "y": 0.1248},
        "K35+520": {"x": 0.244, "y": 0.135},
        "K35+447": {"x": 0.337, "y": 0.1248},
        "K35+385": {"x": 0.31, "y": 0.16},
        "K35+310": {"x": 0.327, "y": 0.17},
        "K35+190": {"x": 0.333, "y": 0.135},
        "K35+120": {"x": 0.2446, "y": 0.185},
        "K35+047": {"x": 0.333, "y": 0.135}
    }
}

